/* =========================================================
VARIABLES
========================================================= */
:root {
  --brand: hsl(229,34%,26%);
  --brand-600: hsl(229,34%,20%);
  --muted: #6b7280;
  --bg: #f5f7fb;
  --card-bg: #ffffff;
  --shadow: 0 8px 30px rgba(16,24,40,0.08);
  --radius: 12px;
  --maxw: 1100px;
  --cta-color: #081240;
  --icon-color: #6b7280;
  --gold: #b89403;
}

/* =========================================================
BASE RESET
========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: "Inter","Segoe UI",sans-serif;
  color: #111827;
  background: #dbe3f0;
  line-height: 1.5;
  padding-top: 72px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
WHATSAPP BUTTON
========================================================= */
.btn-whatsapp {
  color: #ffffff;
  font-weight: bold;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #21994d;
  padding: 10px 16px;
  border-radius: 8px;
  transition: .3s;
}

.btn-whatsapp:hover {
  background-color: #0a441f;
}

/* =========================================================
HEADER / NAVBAR
========================================================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 rgba(16,24,40,0.04);
  z-index: 1100;
}

.navrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.brand { display: flex; align-items: center; gap: 14px; }

.brand h1 {
  font-size: 1.05rem;
  color: var(--brand);
  font-weight: 700;
  margin-bottom: 4px;
}

.brand .small {
  font-size: 0.85rem;
  color: #6b7280;
  letter-spacing: .5px;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
  transition: .3s;
}

nav li { list-style: none; }

nav a {
  color: #374151;
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
  transition: .3s;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 28px;
  height: 22px;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  height: 3px;
  background: var(--brand);
  border-radius: 2px;
  transition: .3s;
}

.hamburger.active span:nth-child(1){
  transform: rotate(45deg) translate(5px,5px);
}

.hamburger.active span:nth-child(2){
  opacity: 0;
}

.hamburger.active span:nth-child(3){
  transform: rotate(-45deg) translate(6px,-6px);
}

nav ul.active{
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(6px);
  padding: 20px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,.1);
}

/* =========================================================
INTRO GRID
========================================================= */
.intro-grid{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  margin-top:20px;
}

.intro-text{
  flex:1 1 400px;
  max-width:500px;
  margin:0 auto;
  text-align:center;
}

.intro-photo{
  flex:0 0 340px;
  display:flex;
  justify-content:center;
}

.intro-photo img{
  width:100%;
  object-fit:contain;
  transform: translateX(-80px);
}

/* =========================================================
FAQ BOX
========================================================= */
.faq-intro{
  background:#fff;
  border-radius:16px;
  padding:36px 32px;
  max-width:var(--maxw);
  margin:40px auto;
  outline:3px solid var(--gold);
  box-shadow:0 8px 24px rgba(0,0,0,.15);
}

.faq-intro .intro-header{
  display:flex;
  justify-content:center;
  text-align:center;
  margin-bottom:22px;
}

.faq-intro p{
  font-size:1.05rem;
  color:#374151;
  line-height:1.7;
  margin-bottom:16px;
}

.faq-intro .intro-header h2{
  color:#001c3f;
  font-size:1.6rem;
  font-weight:700;
  max-width:850px;
}

/* =========================================================
CARDS
========================================================= */
.areas-section{
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 20px 40px;
}

.cards-wrapper{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:24px;
  margin:24px auto 0;
}

.cert-card{
  background:var(--card-bg);
  padding:28px 22px;
  border-radius:14px;
  box-shadow:0 0 0 2px var(--gold), 0 8px 30px rgba(16,24,40,.08);
  text-align:center;
  transition:.25s;
}

.cert-card:hover{
  transform:scale(1.03);
}

.cert-card h3{
  color:var(--brand);
  margin-bottom:12px;
  font-size:1.3rem;
}

.cert-card .card-btn{
  background:#001c3f;
  color:#fff;
  padding:12px 20px;
  border-radius:10px;
  font-weight:600;
  cursor:pointer;
}

/* =========================================================
MODAL
========================================================= */
.modal{
  display:none;
  position:fixed;
  z-index:2000;
  inset:0;
  background:rgba(0,0,0,.8);
  justify-content:center;
  align-items:center;
}

.modal-content .logo-principal {
  max-width: 200px;
  height: auto;
  margin: 0 auto 20px;
  display: block;
}

.modal-content{
  width:calc(100% - 40px);
  max-width:900px;
  max-height:90vh;
  background:#fff;
  border-radius:16px;
  padding:30px;
  overflow-y:auto;
  box-shadow:0 0 0 4px var(--gold), 0 8px 24px rgba(0,0,0,.25);
}

.close-modal{
  position:absolute;
  top:14px;
  right:18px;
  font-size:1.8rem;
  cursor:pointer;
}
.modal-content h2 {
  text-align: center;
  margin-bottom: 12px;
}

.modal-text {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
/* =========================================================
HERO NOVO DEFINITIVO
========================================================= */
.hero{
  position:relative;
  width:100%;
  overflow:hidden;
}

.hero-img-wrapper{
  position:relative;
  width:100%;
}

.desktop-banner{
  width:100%;
  display:block;
}

.mobile-banner{
  display:none;
  width:100%;
}

.hero-banner-text{
  position:absolute;
  right:6%;
  top:50%;
  transform:translateY(-50%);
  text-align:right;
  color:#ffffff;
  z-index:20;
  max-width:480px;
}

.hero-line-1{
  display:block;
  font-size:clamp(1.6rem,2.4vw,2.2rem);
  font-weight:400;
  letter-spacing:1px;
  text-shadow:0 6px 24px rgba(0,0,0,.65);
}

.hero-line-2{
  margin-top:6px;
  font-size:clamp(3rem,5vw,4.6rem);
  font-weight:700;
  text-shadow:0 10px 40px rgba(0,0,0,.75);
}

/* CRÉDITO */
.credito{
  position:absolute;
  bottom:12px;
  left:50%;
  transform:translateX(-50%);
  font-size:11px;
  color:#ffffff;
  opacity:.65;
  z-index:15;
  text-align:center;
  white-space:nowrap;
  pointer-events:none;
}

/* =========================================================
RESPONSIVO
========================================================= */
@media(max-width:768px){
  .hamburger{ display:flex; }
  nav ul{ display:none; }

  .desktop-banner{ display:none; }
  .mobile-banner{ display:block; }

  .intro-grid{
    flex-direction:column;
    gap:24px;
  }

  .intro-photo img{
    transform:none;
    max-width:240px;
    margin:0 auto;
  }

  .faq-intro{
    padding:24px 16px;
    margin:20px auto;
    max-width:90%;
  }

  /* HERO MOBILE TEXT */
  .hero-banner-text {
    left:5%;
    right:auto;
    top:50%;
    transform:translateY(-50%);
    text-align:left;
    max-width:260px;
  }

  .hero-line-1{
    font-size:1.2rem;
    line-height:1.3;
  }

  .hero-line-2{
    font-size:1rem;
    margin-top:4px;
  }

}

/* HERO DESKTOP PADRÃO */
.hero-line-1{
  display:block;
  font-size:clamp(1.2rem,1.8vw,1.6rem);
  font-weight:400;
  letter-spacing:1px;
  text-shadow:0 6px 24px rgba(0,0,0,.65);
  text-align:center;
}

.hero-line-2{
  display:block;
  margin-top:4px;
  font-size:clamp(1.5rem,2.5vw,2rem);
  font-weight:700;
  color: var(--gold);
  text-shadow:
    0 4px 10px rgba(0,0,0,.4),
    0 14px 60px rgba(0,0,0,.85);
  text-align:center;
}
@media (max-width: 768px) {
  .hero-banner-text {
    display: none;
  }
}
@media (max-width: 768px) {
  .credito {
    right: 40px; /* quanto menor o valor, mais pra direita */
    bottom: 4px;
    font-size: 0.6rem;
    text-align: right;
  }
}
/* HOVER NOVO (borda elegante) */
nav a {
  position: relative;
  z-index: 1;
}

/* borda animada */
nav a::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--gold);
  border-radius: 8px;
  opacity: 0;
  transform: scale(0.95);
  transition: 0.25s ease;
}

/* efeito ao passar o mouse */
nav a:hover::before {
  opacity: 1;
  transform: scale(1.05);
}

/* leve destaque no texto (opcional, mais refinado) */
nav a:hover {
  color: var(--brand);
}